<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>详情页-闲物网</title>

    <link rel="stylesheet" type="text/css" href="css/style.css" />
    <link rel="stylesheet" type="text/css" href="css/cp.css" />
    <style type="text/css">
        <!--
        .STYLE2 {
            font-size: 12px;
            font-weight: bold;
            color: #333333
        }

        .STYLE3 {
            font-size: 12px
        }

        h4 {
            margin: 0px;
            padding: 0px;
            font-size: 14px;
            line-height: 20px;
            color: #333333;
            padding-left: 10px;
            margin-top: 20px;
        }
        -->
        .pja {
        text-align:left
        }
        .pjb {
        text-align:left;
        font-size:12px;
        color:#000000
        }
    </style>
</head>

<body>
    <div id="head">
        <div class="content">
            <div class="left">闲物网欢迎您！</div>
            <ul>
                <div id="dla" style="display: block;">
                    <li><a href="reg.html">注册</a></li>
                    <li>|</li>
                    <li><a href="login.html">登录</a></li>
                </div>
                <div id="dlb" style="display: none;">
                    <li><a href="#" onClick="out()">退出登录</a></li>
                    <li class="line">|</li>
                    <li>欢迎您！<span id="myu"></span></li>
                </div>
            </ul>
            <script src="js/date.js"></script>
            <script>
                var dq_user = sessionStorage.getItem('dq_user');
                if (dq_user.length > 0) {
                    document.getElementById("dla").style.display = 'none';
                    document.getElementById("dlb").style.display = 'block';
                    document.getElementById("myu").innerHTML = dq_user;

                }
                else {
                    document.getElementById("dlb").style.display = 'none';
                    document.getElementById("dla").style.display = 'block';
                }
            </script>
            <div style="clear:both"></div>
        </div>
    </div>

    <div id="top">
        <div class="content">
            <div class="logo">
                <a href="index.html" title="手机商城"><img src="images/logo.png" alt="手机商城">闲物网</a>
            </div>

            <div style="clear:both"></div>
        </div>

    </div>
    </div>
    <div id="navBar">
        <div class="content hyc">

            <ul id="nav_ul">
                <li><a href="index.html">首页</a></li>

                <li><a href="gm1.html" target="_self">手机购买</a></li>
                <li><a href="mydd.html" target="_self">我的订单</a></li>
                <li><a href="contact.html" target="_self">联系我们</a></li>
                <div style="clear:both"></div>
            </ul>
        </div>
    </div>


    <div id="wrapper">
        <div class="container">
            <div id="map">

                <div class="browse">现在位置： <a title="返回首页" href="index.html">首页</a> &gt; <a title="详情页" href="#">详情页</a>
                    &gt;商品详情
                </div>
            </div>

            <div class="item_body">
                <div class="cpzt"><img src="images/a3.png"></div>
                <div class="canshu">
                    <h1>三星Galaxy Z Flip</h1>
                    <div class="cp_pf">型号累计交易 125 次</div>

                    <div class="item_price">
                        销售价:￥<span id="dq_price">1000</span>元
                    </div>
                    <form action="#" method="post">
                        <div class="cp_num">
                            <input class="put1" type="button" value="套餐1" onClick="addnum('3000')">
                            <input class="put1" type="button" value="套餐2" onClick="addnum('3200')">
                            <input class="put1" type="button" value="套餐3" onClick="addnum('3400')">
                        </div>

                        <script type="text/jscript">
function addnum(id)
{

dqnum=document.getElementById("dq_price").innerHTML=id;

}

</script>
                        <div class="buybox">
                            <a href="xdok.html"><input type="button" class="btn sd1" value="立即购买"></a>
                            <a href="#"><input type="button" class="btn sd2" value="加入购物车"></a>
                        </div>
                    </form>
                    <div class="fwcn"><b>服务承诺</b><b>正品保证</b><b>极速退款</b><b>七天无理由退换</b></div>

                </div>
                <div style="clear:both"></div>
            </div>


            <div class="cp_xq">
                <div class="nav">
                    <span>商品详情</span>
                </div>
                <div class="xq_c">
                    <P>

                    </P>

                </div>
            </div>
        </div>
    </div>
    <div id="footer">
        <p>Copyright &#169; 2022, 手机商城, All Rights Reserved</p>
    </div>

</body>

</html>